Byte frequency analysis applied to both the plaintext and ciphertext will yield sorted histograms identical in all aspects with the exception of the bin labels.

INSERT SORTED HISTOGRAMS FOR CIPHER AND PLAIN TEXT

Taking bin labels from left-to-right of the ciphertext and plaintext sorted histograms immediately reveals the substitution cipher mapping.

Substitution cipher mapping can be created by knowing the byte frequency distribution of a given language.

Relative ordering of each successively less common byte should be reliably consistent.

INSERT SORTED HISTOGRAMS FOR CIPHERTEXT AND CORPUS AND THEN A STATISTICAL DECRYPTION